ReadOnlyMultiDictionaryBase Members

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Syntax

C#
[SerializableAttribute]
public abstract class ReadOnlyMultiDictionaryBase<TKey, TValue>
Visual Basic (Declaration)
<SerializableAttribute> _
Public MustInherit Class ReadOnlyMultiDictionaryBase(Of TKey, TValue)
Visual C++
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class ReadOnlyMultiDictionaryBase abstract

Type Parameters

TKey
TValue

The type exposes the following members.

Protected Constructors

Public Methods

  NameDescription
Public methodContainsOverloaded.
Public methodContainsKey
Determines whether a given key is found in the dictionary.
Public methodConvertAll<(Of <TOutput>)>
Convert this collection of items by applying a delegate to each item in the collection. The resulting enumeration contains the result of applying converter to each item in this collection, in order.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodCopyTo
Copies all the items in the collection into an array. Implemented by using the enumerator returned from GetEnumerator to get all the items and copy them to the provided array.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodCountWhere
Counts the number of items in the collection that satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists
Determines if the collection contains any item that satisfies the condition defined by predicate.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodFindAll
Enumerates the items in the collection that satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodForEach
Performs the specified action on each item in this collection.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodGetEnumerator
Enumerate all the keys in the dictionary, and for each key, the collection of values for that key.
(Overrides ReadOnlyCollectionBase<(Of <KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>>)>..::GetEnumerator()().)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToArray
Creates an array of the correct size, and copies all the items in the collection into the array, by calling CopyTo.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Public methodToString
Shows the string representation of the dictionary. The string representation contains a list of the mappings in the dictionary.
(Overrides ReadOnlyCollectionBase<(Of <KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>>)>..::ToString()().)
Public methodTrueForAll
Determines if all of the items in the collection satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)

Protected Methods

  NameDescription
Protected methodCountAllValues
Gets a total count of values in the collection. This default implementation is slow; it enumerates all of the keys in the dictionary and calls CountValues on each. A derived class may be able to supply a more efficient implementation.
Protected methodCountValues
Gets a count of the number of values associated with a key. The default implementation is slow; it enumerators all of the values (using TryEnumerateValuesForKey) to count them. A derived class may be able to supply a more efficient implementation.
Protected methodEnumerateKeys
Enumerate all the keys in the dictionary. This method must be overridden by a derived class.
Protected methodEqualValues
If the derived class does not use the default comparison for values, this methods should be overridden to compare two values for equality. This is used for the correct implementation of ICollection.Contains on the Values and KeyValuePairs collections.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodTryEnumerateValuesForKey
Enumerate all of the values associated with a given key. This method must be overridden by the derived class. If the key exists and has values associated with it, an enumerator for those values is returned throught values. If the key does not exist, false is returned.

Public Properties

  NameDescription
Public propertyCount
Gets the number of keys in the dictionary. This property must be overridden in the derived class.
(Overrides ReadOnlyCollectionBase<(Of <KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>>)>..::Count.)
Public propertyItem
Returns a collection of all of the values in the dictionary associated with key. If the key is not present in the dictionary, an ICollection with no values is returned. The returned ICollection is read-only.
Public propertyKeys
Gets a read-only collection all the keys in this dictionary.
Public propertyKeyValuePairs
Gets a read-only collection of all key-value pairs in the dictionary. If a key has multiple values associated with it, then a key-value pair is present for each value associated with the key.
Public propertyValues
Gets a read-only collection of all the values in the dictionary.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodICollection<(Of <T>)>..::Add (Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate methodICollection<(Of <T>)>..::Clear (Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection<(Of <T>)>..::IsReadOnly (Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate methodICollection<(Of <T>)>..::Remove (Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate methodIDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Add
Explicit interface implemetationPrivate propertyIDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Item
Explicit interface implemetationPrivate methodIDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Remove
Explicit interface implemetationPrivate methodIDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::TryGetValue
Explicit interface implemetationPrivate propertyIDictionary<(Of <TKey, ICollection<(Of <TValue>)>>)>..::Values
Explicit interface implemetationPrivate methodICollection..::CopyTo
Copies all the items in the collection into an array. Implemented by using the enumerator returned from GetEnumerator to get all the items and copy them to the provided array.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::IsSynchronized
Indicates whether the collection is synchronized.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::SyncRoot
Indicates the synchronization object for this collection.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate methodIEnumerable..::GetEnumerator
Provides an IEnumerator that can be used to iterate all the members of the collection. This implementation uses the IEnumerator<T> that was overridden by the derived classes to enumerate the members of the collection.
(Inherited from ReadOnlyCollectionBase<(Of <T>)>.)

See Also